import 'package:json_annotation/json_annotation.dart';

part 'activity_join_request.g.dart';


@JsonSerializable()
class ActivityJoinRequest extends Object {

  @JsonKey(name: 'activityId')
  int activityId;

  @JsonKey(name: 'reqMsg')
  String reqMsg;

  @JsonKey(name: 'userId')
  int userId;


  ActivityJoinRequest({this.activityId, this.reqMsg, this.userId});

  factory ActivityJoinRequest.fromJson(Map<String, dynamic> srcJson) => _$ActivityJoinRequestFromJson(srcJson);

  Map<String, dynamic> toJson() => _$ActivityJoinRequestToJson(this);

}


